package com.glink.gateway.common;

/**
 * Created by IntelliJ IDEA.
 *
 * @Author : qiushaoshan
 * @create 2024/9/11 19:16
 */
public class LogRecordUtils {

    /**
     * 接口权限
     * @param userName 用户名
     * @param url 接口地址
     * @return 日志信息
     */
    public static String interfaceAuth(String userName, String url){
        userName = userName == null ? "" : userName;
        url = url == null ? "" : url;
        return userName.concat("访问了").concat(url).concat("接口，无权限");
    }
}
